package com.symaster.common.geom.util;

import java.util.UUID;

/**
 * @author yinmiao
 * @version 2024/2/27
 */
public class IDUtil {
    public static int getId() {
        UUID idOne = UUID.randomUUID();
        String str = "" + idOne;
        int uid = str.hashCode();
        String filterStr = "" + uid;
        str = filterStr.replaceAll("-", "");
        return Integer.parseInt(str);
    }
}
